//
//  LSZAddressBookManager.m
//  PartyClassCloud
//
//  Created by 梁素珍 on 2018/11/4.
//  Copyright © 2018年 九酷. All rights reserved.
//

#import "LSZAddressBookManager.h"

@implementation LSZAddressBookManager
-(id)initWithAddressBook:(NSArray *)array
{
    self = [super init];
    if (self) {
        self.arrayData = [[NSMutableArray alloc]init];
        NSMutableArray * arrayMutData = [[NSMutableArray alloc]init];
        
        for (NSDictionary * diction in array) {
            LSZAddressBookMg * mg = [[LSZAddressBookMg alloc]init];
            mg.headUrl = NullStringjudgment(NSStr(diction[@"headUrl"]));
            mg.id_id = NullStringjudgment(NSStr(diction[@"id"]));
            mg.branchName = NullStringjudgment(NSStr(diction[@"branchName"]));
            mg.contactPhone = NullStringjudgment(NSStr(diction[@"contactPhone"]));
            mg.branchId = NullStringjudgment(NSStr(diction[@"branchId"]));
            mg.roleId = NullStringjudgment(NSStr(diction[@"roleId"]));
            mg.roleLabel = NullStringjudgment(NSStr(diction[@"roleLabel"]));
            mg.roleValue = NullStringjudgment(NSStr(diction[@"roleValue"]));
            mg.jobLabel = NullStringjudgment(NSStr(diction[@"jobLabel"]));
            mg.registerTime = NullStringjudgment(NSStr(diction[@"registerTime"]));
            mg.jobId = NullStringjudgment(NSStr(diction[@"jobId"]));
            mg.name = NullStringjudgment(NSStr(diction[@"name"]));
            [arrayMutData addObject:mg];
            
            
            
            

        }
        self.arrayData = arrayMutData;
    }
    return self;
}
@end
@implementation LSZAddressBookMg
@end
